package com.gz.spring.aop.proxy2;

import org.junit.jupiter.api.Test;

public class TestOper {

    @Test
    public void oper() {
        Func func = new Func();
        OperProxyProvider operProxyProvider = new OperProxyProvider(func);
        Operation proxy = operProxyProvider.getProxy();
        proxy.getSub(10,2);
        proxy.getSum(10,2);
    }
}
